﻿#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
//输⼊⼀个正整数，计算这个整数是⼏位数？
int main()
{
	int duo = 0;
	int shu = 0;//计数器
	scanf("%d", &duo);
	do
	{
		shu++;
		duo /= 10;
	} while (duo);
	printf("%d\n", shu);
	return 0;
}